package com.lipl.base.javaee.springboot.Annotation;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
public class User implements Serializable{
    private static final long serialVersionUID = 1406108260183417444L;

    private int id;

    private String userId;
    @Value("${userName}")
    private String userName;

    private String provinceId;

    private String cityId;

    private Date createTime;

}
